package com.dgut.service;

import com.dgut.pojo.Buyer;
import com.dgut.pojo.receive.AdministratorAndBuyerReceive;
import com.dgut.utils.PageRequestInfo;

public interface BuyerService {
    /**
     * start-hwf
     */
    Buyer selectBuyerById(int id);
    boolean register(AdministratorAndBuyerReceive administratorAndBuyerReceive);
    /**
     * end-hwf
     */

    /**
     * start-lzh
     */
    //采买方查看账户的基本信息
    public Object CheckPersonalInformation(Integer id);

    //采访买修改账户的基本信息
    public Object UpdatePersonalInformation(Buyer buyer);

    /**
     * end-lzh

    /**
     * start-gxd
     */

    Object getBuyerByPage(PageRequestInfo pageRequestInfo);
    Object selectBuyerListByName(String name);
    Object selectBuyerById1(int id);

    /**
     * end-gxd
     */

}
